package cn.edu.nankai.bookstore.dao;

import cn.edu.nankai.bookstore.domain.po.Order;

import java.math.BigDecimal;
import java.util.List;

public interface OrderDao extends GenericDao<Order,Integer>{
    List<Order> findAllByTel(BigDecimal telephone);
    List<Order> findAllByCustomerId(Integer customerId);
}
